package com.gitee.web.config;

import com.gitee.fastmybatis.core.ext.transaction.DbSupport;

public enum Dbs implements DbSupport {
    STU("stu"),
    GOODS("goods");

    private final String alias;

    Dbs(String alias) {
        this.alias = alias;
    }

    @Override
    public String getDataSourceAlias() {
        return alias;
    }
}
